import request from '@/utils/request'

export function fetchBanner(data) {
  return request({
    url: '/static-file/get/byFileClassify',
    method: 'get',
    params: data
  })
}

export function deleteBanner(data) {
  return request({
    url: '/static-file/delete/byId',
    method: 'delete',
    params: data
  })
}
